"use client";

import { useRouter } from "next/navigation";

export default function ArrangePage() {
  const router = useRouter();
  return (
    <section className="arrange" id="arrange">
      <h1 className="heading">
        Вы <span>успешно</span> оформили заказ
      </h1>
      <input
        onClick={() => router.push("/")}
        type="submit"
        value="На главную"
        className="btn"
      />
    </section>
  );
}
